#ifndef QDISPLAYTERMS_H
#define QDISPLAYTERMS_H

#include <QObject>
#include <QVBoxLayout>
#include <QHash>
#include "qexppart.h"
#include "qsearchtermsfactory.h"
#include "qobjectpool.h"

class QDisplayTerms: public QObject
{
	Q_OBJECT
public:
   QDisplayTerms(QVBoxLayout* layout);
   ~QDisplayTerms();
   
   void setPartToDisplay(QEXPPart* part);
   
private:
	
	void clearLayout();
	QVBoxLayout* m_layout;
	QHash<QString,QString> m_grid;
	QObjectPool<QSearchTerms>* m_pool;
};

#endif